package com.hc.weatherhc.dao;

import com.hc.weatherhc.domain.City;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CityRepository extends JpaRepository<City,Integer> {

    List<City>findByCityLike(String city);

}
